#include <stdio.h>
typedef int ailuo;
typedef int (*ailuolbiu)(int ,int);


ailuo *testfun1()
{
	ailuo a = 20;
	int b = 20;
	static int rett = 0;
	rett = a+b;
	return &rett;
}

int testfun2(int a,int b)
{
	static int num = 0;
    num = a+b;
	return num;
}





int main()
{
	int *q = NULL;
	q=testfun1();
	printf("%d",*q);
	int a,b=0;
	//int (*p)(int a,int b) = NULL;
	ailuolbiu p =testfun2;
	//p = testfun2;
	int ret = p(10,20);
	printf("%d\n",ret);
	return 0;
}
